<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        var num = 1;
        // alert(num);
        if(2>1){
            alert(num)
        }

    </script>

</head>
<body>

</body>
</html>